import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/home',
    name: 'home',
    component: HomeView
  },
  {
    path: '/',
    name: 'examinerPage',
    component: () => import('../views/examinerPage.vue')
  },
  {
    path: '/DianTiXiuLi',
    name: 'DianTiXiuLi',
    component: () => import('../views/markSheet/DianTiXiuLi.vue')
  },
  {
    path: '/GongYeGuoLu',
    name: 'GongYeGuoLu',
    component: () => import('../views/markSheet/GongYeGuoLu.vue')
  },
  {
    path: '/KeYunSuoDaoXiuLi',
    name: 'KeYunSuoDaoXiuLi',
    component: () => import('../views/markSheet/KeYunSuoDaoXiuLi.vue')
  },
  {
    path: '/KeYunSuoDaoZuoYe',
    name: 'KeYunSuoDaoZuoYe',
    component: () => import('../views/markSheet/KeYunSuoDaoZuoYe.vue')
  },
  {
    path: '/Q1ZhiHui',
    name: 'Q1ZhiHui',
    component: () => import('../views/markSheet/Q1ZhiHui.vue')
  },
  {
    path: '/Q2XianLiuDongShi',
    name: 'Q2XianLiuDongShi',
    component: () => import('../views/markSheet/Q2XianLiuDongShi.vue')
  },
  {
    path: '/Q2XianQiaoShi',
    name: 'Q2XianQiaoShi',
    component: () => import('../views/markSheet/Q2XianQiaoShi.vue')
  },
  {
    path: '/Q2XianTashi',
    name: 'Q2XianTashi',
    component: () => import('../views/markSheet/Q2XianTashi.vue')
  },
  {
    path: '/QiPingChongZhuang',
    name: 'QiPingChongZhuang',
    component: () => import('../views/markSheet/QiPingChongZhuang.vue')
  },
  {
    path: '/YaLiRongQi',
    name: 'YaLiRongQi',
    component: () => import('../views/markSheet/YaLiRongQi.vue')
  },
  {
    path: '/YangCangWeiHu',
    name: 'YangCangWeiHu',
    component: () => import('../views/markSheet/YangCangWeiHu.vue')
  },
  {
    path: '/YiDongChongZhuang',
    name: 'YiDongChongZhuang',
    component: () => import('../views/markSheet/YiDongChongZhuang.vue')
  },
  {
    path: '/YouLeChangCaoZuo',
    name: 'YouLeChangCaoZuo',
    component: () => import('../views/markSheet/YouLeChangCaoZuo.vue')
  },
  {
    path: '/YouLeChangXiuLi',
    name: 'YouLeChangXiuLi',
    component: () => import('../views/markSheet/YouLeChangXiuLi.vue')
  },
  {
    path: '/GuanGuangChe',
    name: 'GuanGuangChe',
    component: () => import('../views/markSheet/GuanGuangChe.vue')
  },
  {
    path: '/AnQuanFaJiaoYan',
    name: 'AnQuanFaJiaoYan',
    component: () => import('../views/markSheet/AnQuanFaJiaoYan.vue')
  },
  {
    path: '/DianZhanGuoLuSiLu',
    name: 'DianZhanGuoLuSiLu',
    component: () => import('../views/markSheet/DianZhanGuoLuSiLu.vue')
  },
  {
    path: '/GuoLuShuiChuLi',
    name: 'GuoLuShuiChuLi',
    component: () => import('../views/markSheet/GuoLuShuiChuLi.vue')
  },
  {
    path: '/sfzView',
    name: 'sfzView',
    component: () => import('../views/sfzView.vue')
  },
  {
    path: '/KgSfz',
    name: 'KgSfz',
    component: () => import('../views/KgSfz.vue')
  }
  ,
  {
    path: '/openText',
    name: 'openText',
    component: () => import('../views/openText.vue')
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
